/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package app.net.messages;

import app.net.Message;

/**
 * used to sync state of entities
 * 
 * @author skyr
 */
public class SyncMessage extends Message{

    private int id;
    private int x;
    private int y;
    private boolean isAtk;
    private boolean isDef;
    private boolean isRight;
    private int health;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public boolean getIsAtk() {
        return isAtk;
    }

    public void setIsAtk(boolean isAtk) {
        this.isAtk = isAtk;
    }

    public boolean getIsDef() {
        return isDef;
    }

    public void setIsDef(boolean isDef) {
        this.isDef = isDef;
    }

    public int getX() {
        return x;
    }

    public void setX(int x) {
        this.x = x;
    }

    public int getY() {
        return y;
    }

    public void setY(int y) {
        this.y = y;
    }

    public boolean getIsRight() {
        return isRight;
    }

    public void setIsRight(boolean isRight) {
        this.isRight = isRight;
    }

    public int getHealth() {
        return health;
    }

    public void setHealth(int health) {
        this.health = health;
    }
    
    
}
